<!-- 
    =         直接赋值             var usrName='我是值';
    +=,-=     加、减一个数后赋值    var age=10; age+=5  //15;
    *=,/=,%=  乘，除，取模后在赋值  var age=2;  age*=5  //10
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var num = 10;
        num = num + 1;  //num++ ,
        num += 3;  //赋值运算符
        console.log(num);
        num -= 5
        console.log(num);
        num *= 2
        console.log(num);
        num /= 2;
        console.log(num);
        num %= 2;
        console.log(num);
    </script>
</head>

<body>

</body>

</html>